package com.sxt.springsecuritytest2.mapper;

import com.sxt.springsecuritytest2.bean.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/*
 *
 * @Description todo
 * @author qqg
 * @date $date$
 * @param $params$ 
 * @return $return$
 **/
@Mapper
public interface SysUserMapper {

    //根据姓名查找用户信息
    SysUser selectByUserName(@Param("userName") String userName);

    int deleteByPrimaryKey(Integer id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);
}